package com.lzx.es.service;

import com.lzx.common.utils.R;
import com.lzx.es.entity.answerVO.RequestParams;
import com.lzx.es.entity.userVO.QueryUser;

public interface ESProblemService {
    //全文检索
    R searchProblem(RequestParams requestParams);

    //将数据重新导入es
    R saveProblemList();

    //自动补全
    R getSuggestion(String key);

    //用户修改头像或昵称，批量更新数据
    R updateUserNicknameOrAvatar(QueryUser queryUser);

    //修改问题
    R editProblem(Long problemId);
}
